package designmode.Decorate.myio;

import java.io.File;
import java.io.FileInputStream;

/**
 * Created by Administrator on 2017/10/31 0031.
 */
public class test
{
    public static void main(String[] args) throws Exception
    {
        LowerCaseInputStream li = new LowerCaseInputStream(
                new FileInputStream(new File("D:\\Android\\idea_ws\\JavaDemo\\src\\designMode\\Decorate\\myio\\1.txt")));
        byte[] buffer = new byte[256];
        while(li.read(buffer, 0, 256) >= 0)
        {
            System.out.println(new String(buffer));
        }
    }
}
